<%--
  Created by IntelliJ IDEA.
  User: hasee
  Date: 2017/10/20
  Time: 22:42
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>登陆页面</title>
</head>
<body>
<form action="${pageContext.request.contextPath}/loginServlet" method="post">
    <p style="color: red;">${loginMsg}</p>
    <table>
        <tr>
            <td colspan="2" align="center"><h1>登陆</h1></td>
        </tr>
        <tr>
            <td>用户名:</td>
            <td><input type="text" name="username" value="${cookie.username.value}"></td>
        </tr>
        <tr>
            <td>密码:</td>
            <td><input type="password" name="password" value=""></td>
        </tr>
        <tr>
            <td colspan="2" align="center"><input type="submit" value="登陆"></td>
        </tr>
    </table>
    <p><a href="${pageContext.request.contextPath}/log/logon.jsp">注册</a></p><br>
</form>
</body>
</html>
